/*
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved.
 */
package com.icinfo.cloud.provider.punish.ucase.casemain.service;

import com.icinfo.cloud.provider.logs.model.LogsCaseDocumentSerialRecord;
import com.icinfo.framework.core.service.BaseService;

/**
 * 描述: 文号序列记录 case_document_number_serial 对应的Service接口.<br>
 *
 * @author framework generator
 * @date 2022年03月14日
 */
public interface ICaseDocumentNumberSerialService extends BaseService {

    /**
     * 获取文书最新序号
     * @param documentCatalogCode
     * @return
     */
    Long getNumber(String busiId, String sourceType, String documentCatalogCode, String caseOrgCode,String caseDeptCode,String lineCode, String year);

    /**
     * 描述： 保存异常文书序号日志
     *
     * @author: zhengqiang
     * @date: 2023/12/7
     * @param: logsCaseDocumentSerialRecord
     * @return {@link int}
     **/
    int saveLogsCaseDocumentSerialRecordException(LogsCaseDocumentSerialRecord logsCaseDocumentSerialRecord);
}
